<?php
	/**
	 * Class to set phones attributes
	 */
	class Phone {
		private $pkId;
		private $type;
		private $serial;
		private $number;
		private $idOwner;
		private $typeOwner;
		
		/**
		 * Constructor of the phone
		 */
		public function __construct($type, $serial, $number, $idOwner, $typeOwner) {
			$this -> type = $type;
			$this -> serial = $serial;
			$this -> number = $number;
			$this -> idOwner = $idOwner;
			$this -> typeOwner = $typeOwner;
		}
		
		/**
		 * Getter and setter for attribute $pkId
		 */
		public function setPkId($pkId) {
			$this -> pkId = $pkId;	
		}
		
		public function getPkId() {
			return $this -> pkId;
		}
		
		/**
		 * Getter and setter for attribute $type
		 */
		public function setType($type) {
			$this -> type = $type;	
		}
		
		public function getType() {
			return $this -> type;
		}
		
		/**
		 * Getter and setter for attribute $serial
		 */
		public function setSerial($serial) {
			$this -> serial = $serial;	
		}
		
		public function getSerial() {
			return $this -> serial;
		}
		
		/**
		 * Getter and setter for attribute $number
		 */
		public function setNumber($number) {
			$this -> number = $number;	
		}
		
		public function getNumber() {
			return $this -> number;
		}
		
		/**
		 * Getter and setter for attribute $idOwner
		 */
		public function setIdOwner($idOwner) {
			$this -> idOwner = $idOwner;	
		}
		
		public function getIdOwner() {
			return $this -> idOwner;
		}
		
		/**
		 * Getter and setter for attribute $typeOwner
		 */
		public function setTypeOwner($typeOwner) {
			$this -> typeOwner = $typeOwner;	
		}
		
		public function getTypeOwner() {
			return $this -> typeOwner;
		}
	}
?>